method Server.prototype.[Symbol.asyncDispose] Usage in Denoimport { Server } from "node:net"; Server.prototype.[Symbol.asyncDispose](): Promise<void> Calls Server.close() and returns a promise that fulfills when the server has closed. Return Type Promise<void>